<!DOCTYPE html>
<html>
<head>
    <title>我的借阅</title>
</head>
<body>
    <h1>我的借阅图书</h1>
    <ul>
        {% for book in books %}
            <li>{{ book.title }} - {{ book.author.name }}</li>
        {% empty %}
            <li>暂无借阅图书</li>
        {% endfor %}
    </ul>
    <a href="{% url 'home' %}">返回主页</a>
</body>
</html>